//
//  MemberTrackDetailAnnotationView.m
//  location
//
//  Created by Dongxiang Xu on 2024/5/21.
//

#import "MemberTrackDetailAnnotationView.h"

@implementation MemberTrackDetailAnnotationView

- (instancetype)initWithAnnotation:(nullable id <MKAnnotation>)annotation reuseIdentifier:(nullable NSString *)reuseIdentifier
{
    self = [super initWithAnnotation:annotation reuseIdentifier:reuseIdentifier];
    
    if (self)
    {
        self.bounds = CGRectMake(0.f, 0.f, 200, 200);
        self.backgroundColor = [NormalMainColor colorWithAlphaComponent:0.2];
        [self.layer setBorderWidth:1];
        [self.layer setBorderColor:NormalMainColor.CGColor];
        [self.layer setCornerRadius:100];
    }
    
    return self;
}

@end
